//
//  MyViewController.m
//  LastTemp
//
//  Created by apple on 15/4/22.
//  Copyright (c) 2015年 dllo. All rights reserved.
//

#import "MyViewController.h"

@interface MyViewController ()

@end

@implementation MyViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}








- (void)addButtonView
{
    UIView *view = [[UIView alloc] initWithFrame:CGRectMake(0, 30, self.view.frame.size.width/4, 50)];
    view.backgroundColor = [UIColor blackColor];
    [self.view addSubview:view];
    [view release];
    view.hidden = YES;
    if (self.colorNum == 1) {
        view.hidden = NO;
    }
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(self.view.frame.size.width/4, 0, self.view.frame.size.width/4, 50)];
    [view addSubview:label];
    [label release];
    label.text = @"我的";
    label.textAlignment = NSTextAlignmentCenter;
    label.textColor = [UIColor colorWithRed:38/255.0 green:100/255.0 blue:200/255.0 alpha:1];
    label.font = [UIFont systemFontOfSize:15];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
